package cc.yugu.yhdw.webserver.persistence.basic;

import cc.yugu.yhdw.common.domain.basic.AppGrade;
import cc.yugu.yhdw.common.persistence.MasterMapper;

import java.util.List;

/**
 * 评分功能映射
 *
 * @Date:Created in 2018/6/28 11:44
 * @Author:
 * @Modified By: zjn 2018/6/28 11:44
 */
public interface AppGradeMapper extends MasterMapper {

    /**
    * 根据主键id查询表bas_app_grade中对应数据
    *
    * @Param: [id]
    * @Return: cc.yugu.yhdw.common.domain.basic.AppGrade
    * @Author By: zjn 2018/6/28  11:44
    */
    public AppGrade find(int id);
    /**
    * 模糊查询表中对应的行数
    *
    * @Param: [search]
    * @Return: int
    * @Author By: zjn 2018/6/28  11:46
    */
    public int findPageCount(AppGrade search);
    /**
    * 分页查询，按照创建时间降序查询
    *
    * @Param: [search]
    * @Return: java.util.List<cc.yugu.yhdw.common.domain.basic.AppGrade>
    * @Author By: zjn 2018/6/28  11:47
    */
    public List<AppGrade> findPageResult(AppGrade search);
    /**
    * 根据主键id删除
    *
    * @Param: [id]
    * @Return: int
    * @Author By: zjn 2018/6/28  11:48
    */
    public int delete(int id);



}
